package com.bbex.mapper;

import com.bbex.entity.Coin;
import com.bbex.sql.build.CoinSqlBuild;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface CoinVolumeDao {

    Map findByuserId(String userId, String ethId);

    List<Map> getCoinInfo(String hmId,String userId);

   int updateByethCoinId(String ethId, String ethVolume,String userId);

    int updateByhmCoinId(String hmId, String hmVolume,String userId);

     int  insert(Map map);

    int  insertLog(Map map);

    String findCoinSybolByid(String hmId);

    Map findTime(Date time);

    List<Map> findRankLog(Date startTime,Date endTime);

    int countShareLog();
}
